/**
 * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package com.triumphsys.icici.cmeeting.portlet.model;

import com.liferay.portal.kernel.annotation.AutoEscape;
import com.liferay.portal.model.BaseModel;
import com.liferay.portal.service.ServiceContext;

import com.liferay.portlet.expando.model.ExpandoBridge;

import java.io.Serializable;

/**
 * The base model interface for the CMRole service. Represents a row in the &quot;CM_ROLE&quot; database table, with each column mapped to a property of this class.
 *
 * <p>
 * This interface and its corresponding implementation {@link com.triumphsys.icici.cmeeting.portlet.model.impl.CMRoleModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link com.triumphsys.icici.cmeeting.portlet.model.impl.CMRoleImpl}.
 * </p>
 *
 * <p>
 * Never modify or reference this interface directly. All methods that expect a c m role model instance should use the {@link CMRole} interface instead.
 * </p>
 *
 * @author Triumphsys
 * @see CMRole
 * @see com.triumphsys.icici.cmeeting.portlet.model.impl.CMRoleImpl
 * @see com.triumphsys.icici.cmeeting.portlet.model.impl.CMRoleModelImpl
 * @generated
 */
public interface CMRoleModel extends BaseModel<CMRole> {
	/**
	 * Gets the primary key of this c m role.
	 *
	 * @return the primary key of this c m role
	 */
	public long getPrimaryKey();

	/**
	 * Sets the primary key of this c m role
	 *
	 * @param pk the primary key of this c m role
	 */
	public void setPrimaryKey(long pk);

	/**
	 * Gets the role id of this c m role.
	 *
	 * @return the role id of this c m role
	 */
	public long getRoleId();

	/**
	 * Sets the role id of this c m role.
	 *
	 * @param roleId the role id of this c m role
	 */
	public void setRoleId(long roleId);

	/**
	 * Gets the company id of this c m role.
	 *
	 * @return the company id of this c m role
	 */
	public long getCompanyId();

	/**
	 * Sets the company id of this c m role.
	 *
	 * @param companyId the company id of this c m role
	 */
	public void setCompanyId(long companyId);

	/**
	 * Gets the title of this c m role.
	 *
	 * @return the title of this c m role
	 */
	@AutoEscape
	public String getTitle();

	/**
	 * Sets the title of this c m role.
	 *
	 * @param title the title of this c m role
	 */
	public void setTitle(String title);

	/**
	 * Gets the name of this c m role.
	 *
	 * @return the name of this c m role
	 */
	@AutoEscape
	public String getName();

	/**
	 * Sets the name of this c m role.
	 *
	 * @param name the name of this c m role
	 */
	public void setName(String name);

	/**
	 * Gets the description of this c m role.
	 *
	 * @return the description of this c m role
	 */
	@AutoEscape
	public String getDescription();

	/**
	 * Sets the description of this c m role.
	 *
	 * @param description the description of this c m role
	 */
	public void setDescription(String description);

	/**
	 * Gets the active_ of this c m role.
	 *
	 * @return the active_ of this c m role
	 */
	public boolean getActive_();

	/**
	 * Determines if this c m role is active_.
	 *
	 * @return <code>true</code> if this c m role is active_; <code>false</code> otherwise
	 */
	public boolean isActive_();

	/**
	 * Sets whether this {$entity.humanName} is active_.
	 *
	 * @param active_ the active_ of this c m role
	 */
	public void setActive_(boolean active_);

	/**
	 * Gets a copy of this c m role as an escaped model instance by wrapping it with an {@link com.liferay.portal.kernel.bean.AutoEscapeBeanHandler}.
	 *
	 * @return the escaped model instance
	 * @see com.liferay.portal.kernel.bean.AutoEscapeBeanHandler
	 */
	public CMRole toEscapedModel();

	public boolean isNew();

	public void setNew(boolean n);

	public boolean isCachedModel();

	public void setCachedModel(boolean cachedModel);

	public boolean isEscapedModel();

	public void setEscapedModel(boolean escapedModel);

	public Serializable getPrimaryKeyObj();

	public ExpandoBridge getExpandoBridge();

	public void setExpandoBridgeAttributes(ServiceContext serviceContext);

	public Object clone();

	public int compareTo(CMRole cmRole);

	public int hashCode();

	public String toString();

	public String toXmlString();
}